﻿<cfsilent>
	<cfscript>

		menuArgs = structNew();
		
		if ( event.isArgDefined("EX") ) {
			structInsert(menuArgs, "EX", event.getArg("EX"), true);
		}
		if ( event.isArgDefined("ST") ) {
			structInsert(menuArgs, "ST", event.getArg("ST"), true);
		}
		if ( event.isArgDefined("P") ) {
			structInsert(menuArgs, "P", event.getArg("P"), true);
		}
		
		classStep01 = "";
		classStep02 = "";
		classStep03 = "";
		classStep04 = "lastStep";
		
		if ( event.getRequestName() eq "cetEntryWizard" ) {
			classStep01 = listAppend(classStep01, "current", " ");
		}
		
		if ( event.getRequestName() eq "cetEntryWizardProfile" ) {
			classStep01 = listAppend(classStep01, "lastDone", " ");
			classStep02 = listAppend(classStep02, "current", " ");
		}
		
		if ( event.getRequestName() eq "cetEntryWizardCharge" ) {
			classStep01 = listAppend(classStep01, "done", " ");
			classStep02 = listAppend(classStep02, "lastDone", " ");
			classStep03 = listAppend(classStep03, "current", " ");
		}
		
		if ( event.getRequestName() eq "cetEntryWizardComplete" ) {
			classStep01 = listAppend(classStep01, "done", " ");
			classStep02 = listAppend(classStep02, "done", " ");
			classStep03 = listAppend(classStep03, "lastDone", " ");
			classStep04 = listAppend(classStep04, "current", " ");
		}
	
	</cfscript>
</cfsilent>

<div class="UIWizard clearfix">
	<ul class="fourStep stepNavigation">
		<li class="<cfoutput>#classStep01#</cfoutput>"><a href="<cfoutput>#buildURL('cetEntryWizard', menuArgs)#</cfoutput>"><em>报名科目</em><span>选择报考的语言和级别</span></a></li>
		<li class="<cfoutput>#classStep02#</cfoutput>"><a href="<cfoutput>#buildURL('cetEntryWizardProfile', menuArgs)#</cfoutput>"><em>考生信息</em><span>核对学籍注册信息</span></a></li>
		<li class="<cfoutput>#classStep03#</cfoutput>"><a href="<cfoutput>#buildURL('cetEntryWizardCharge', menuArgs)#</cfoutput>"><em>缴费方式</em><span>选择缴费方式</span></a></li>
		<li class="<cfoutput>#classStep04#</cfoutput>"><a href="<cfoutput>#buildURL('cetEntryWizardComplete', menuArgs)#</cfoutput>"><em>确认报名</em><span>请再次确认报名语言和级别</span></a></li>
	</ul>
</div>